package pl.kaczmarz.audiosteganography;

/**
 *
 * @author Pawel
 */
public enum WaveFormatTag {
	PCM(0x0001),
	IEEE_FLOAT(0x0003),
	ALAW(0x0006),
	MULAW(0x0007),
	EXTENSIBLE(0xFFFE);

	private int value;

	WaveFormatTag(int value) {
		this.value = value;
	}

	public static String stringValue(int formatTag) {
		for (WaveFormatTag tag : WaveFormatTag.values()) {
			if (tag.ordinal() == formatTag) {
				return tag.toString();
			}
		}

		return "UNKNOWN";
	}
}
